package com.zbb.online_exam.entity;

import lombok.Data;

/**
 * @author zbbstart
 * @date 2021/2/15 - 22:49
 */
@Data
public class Option {
    private String option;
    private Integer questionNo;

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"option\":\"")
                .append(option).append('\"');
        sb.append(",\"questionNo\":")
                .append(questionNo);
        sb.append('}');
        return sb.toString();
    }
}
